package Java多线程技术.第3章.一生产多消费;

public class CThread2 extends Thread{


    private C2 c;

    public CThread2(C2 c) {
        this.c = c;
    }

    @Override
    public void run() {
        while (true) {
            c.popService();
        }
    }
}
